package com.soul.provider.service;

import com.soul.api.DemoService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Component
@Service(version = "1.0",timeout = 3000)
public class DemoServiceImpl implements DemoService {
    @Override
    public String sayHello(String str) {
        return "hello " + str;
    }
}
